Keep the setup alias task log truthful before finish#300
Merged
Conversation
added 2 commits
April 22, 2026 13:52
Users already learn gx doctor --current, but gx setup still required --no-recursive for the same traversal behavior. This change accepts --current in the shared traversal parser, updates setup-facing copy, and locks the behavior with a focused setup regression. Constraint: Setup and doctor share the same nested-repo traversal defaults Rejected: Keep --current doctor-only | setup/doctor surface drift stays confusing Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep traversal aliases wired through parseRepoTraversalArgs so setup and doctor do not drift again Tested: node --check bin/multiagent-safety.js; node --test test/setup.test.js; openspec validate agent-codex-setup-current-single-repo-alias-2026-04-22-13-48 --type change --strict; openspec validate --specs Not-tested: downstream repo self-update/install path after consuming a new CLI package
The implementation commit landed, but the OpenSpec tasks still showed the verification and commit steps unchecked. This updates the task log with the real verification evidence and the recorded commit SHA before handoff into the finish flow. Constraint: tasks.md is the active execution record for this change Rejected: Leave verification and commit evidence implicit | downstream cleanup handoff becomes misleading Confidence: high Scope-risk: narrow Reversibility: clean Directive: Update OpenSpec task state as steps happen instead of batching it after finish Tested: not applicable (task-state sync only) Not-tested: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated by gx branch finish (PR flow).